% This file runs assigns the parameters values for Figure 3b, runs the
% dynare code, and saves the irfs in \Replication_files\mat_files.

clear
set_parameters(2.48,0,1.51,-.52,0.8,15,0,0.25,8)

cd ../mod_files
dynare a15_markups.mod

cd ../mat_files
save('irfs_w_inertia_gov.mat','y_u','c_u','g_u','dy_u','q_u','mu_u','pi_u','i_u')

cd ../m_files
set_parameters(0,0,0.98,0,0.8,15,0,1,8)

cd ../mod_files
dynare a15_markups.mod

cd ../mat_files
save('irfs_wo_inertia_gov.mat','y_u','c_u','g_u','dy_u','q_u','mu_u','pi_u','i_u')
cd ../m_files
